package eop.project

class DatabaseController {
	
	def volcanoXmlService
	def activityXmlService
	
	def index = {
	}
	
	def downloadLatestVolcanoData={
		def service = new LoaderService()
		service.loadVolcanoData(volcanoXmlService)
	}
	
	def downloadLatestActivityData={
		def service = new LoaderService()		
		service.loadActivityData(activityXmlService)
	}
}
